DomainObjects Class Library

FieldConversion<FieldConversionSubClass>.FieldTypeToDbType Method 

Converts the value of the given field type to a database type that will be stored in the database.

public virtual object FieldTypeToDbType(
   DbType targetDbType,
   Object fieldValue
);

Parameters

targetDbType
The database type to which the given field value will be converted.
fieldValue
The field value to convert.

Return Value

A value that will be stored in the database.

See Also

FieldConversion<FieldConversionSubClass> Class | DomainObjects.Facade.Domain Namespace